RubyAlignment Enumeration

Represents the horizontal alignment of the ruby text in relationship to the ruby base.

Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public enum RubyAlignment

Members

Left0 Ruby text to the left of ruby base text.
Center1 Ruby text centered on ruby base text.
Right2 Ruby text to the right of ruby base text.
DistributeLetter3 If the width of the ruby text is smaller than that of the ruby base text, then the ruby text contents are evenly distributed across the width of the ruby base text, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the ruby base text, then the letters of the ruby base text are evenly distributed across the width of the ruby text.
DistributeSpace4 If the width of the ruby text is smaller than that of the ruby base text, then the ruby text contents are evenly distributed across the width of the ruby base text, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text. If the width of the ruby text is at least the width of the ruby base text, then the same type of space distribution applies to the ruby base text. In other words, if the base is shorter than the ruby text, the base is distribute-space aligned.
None5 None.

See Also